package com.zeny.express.job.mdm;

import org.quartz.InterruptableJob;
import org.quartz.JobExecutionContext;
import org.quartz.UnableToInterruptJobException;

import com.zeny.express.framework.scheduler.quartz.BaseJob;

public class SimpleExampleJob extends BaseJob implements InterruptableJob {

	@Override
	protected void executeJob(JobExecutionContext context) throws Exception {

		Thread.sleep(20000);

	}

	@Override
	public void interrupt() throws UnableToInterruptJobException {
		LOGGER.info("TERMINATE ###############");
	}

}
